Skip to content

♻️ simplify imports - #284

Merged
ianardee merged 1 commit into
mainfrom
rag-tweaks
Nov 18, 2026
Merged

ianardee merged 1 commit into
mainfrom
rag-tweaks

Conversation

@ianardee

Copy link
Copy Markdown
Collaborator

Description

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Requires a change to the official Guide documentation.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the V2 SDK’s grouped-import cleanup.

No open issues 🎉

What changed in this PR

This PR simplifies imports in the Mindee Ruby SDK’s V2 API by adding grouped entry points for products, parameters, and search types.

Changes:

  • Adds grouped loaders and updates the top-level product and search imports to use them.
  • Replaces individual RAG document imports in the spec with one grouped import.
  • Adds .junie to .gitignore.
File Description
spec/​v2/​product/​extraction/​rag_document_spec.rb Uses the grouped RAG documents import.
lib/​mindee/​v2/​search/​rag_documents.rb Groups RAG document search imports.
lib/​mindee/​v2/​search/​models.rb Groups model search imports.
lib/​mindee/​v2/​search.rb Uses grouped search loaders.
lib/​mindee/​v2/​product/​split/​params.rb Adds a split parameters loader.
lib/​mindee/​v2/​product/​split.rb Groups split product imports.
lib/​mindee/​v2/​product/​ocr/​params.rb Adds an OCR parameters loader.
lib/​mindee/​v2/​product/​ocr.rb Groups OCR product imports.
lib/​mindee/​v2/​product/​extraction/​rag_documents/​params.rb Groups RAG document parameter imports.
lib/​mindee/​v2/​product/​extraction/​rag_documents.rb Groups RAG annotation and parameter imports.
lib/​mindee/​v2/​product/​extraction.rb Groups extraction product imports.
lib/​mindee/​v2/​product/​crop/​params.rb Adds a crop parameters loader.
lib/​mindee/​v2/​product/​crop.rb Groups crop product imports.
lib/​mindee/​v2/​product/​classification/​params.rb Adds a classification parameters loader.
lib/​mindee/​v2/​product/​classification.rb Groups classification product imports.
lib/​mindee/​v2/​product.rb Loads the base product and grouped product loaders.
.gitignore Ignores .junie.

Review effort: Balanced

@ianardee
ianardee merged commit c5eb9d8 into main Nov 18, 2026
27 of 29 checks passed
@ianardee
ianardee deleted the rag-tweaks branch November 18, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants